import { Component } from '@angular/core';
import { PlayLppService } from '../play-lpp.service';
import * as Parse from "parse";
(Parse as any).serverURL = "http://metapunk.cn:9999/parse"
Parse.initialize("dev")

@Component({
  selector: 'app-model-lpp',
  templateUrl: './model-lpp.component.html',
  styleUrls: ['./model-lpp.component.scss']
})
export class ModelLppComponent {
  showlist = this.lppServ.ModelList1
  mymodellist = [1,2];
  constructor(public lppServ:PlayLppService){


  }
  ngOnInit(): void {
// this.lppServ.getmodellist()
    
  }
  
  clicklist(x:boolean){
    if (x == true) {
      this.showlist = this.lppServ.ModelList1
    } else {
      this.showlist = this.mymodellist
    }
  }
}
